package ltd.dujiabao.eduvod;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author : DuJiabao
 * @Project : online-course-project
 * @Time : 2021/4/23 9:49
 * @Desc :
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan("ltd.dujiabao")
@EnableDiscoveryClient  // 服务注册
@EnableFeignClients // 允许HTTP客户端运行
public class VodApplication {
  public static void main(String[] args) {
    SpringApplication.run(VodApplication.class, args);
  }
}
